import boto3

client = boto3.client('s3')
# client.Bucket('spider-keywords').upload_file('readme.md', 'hello.md')

response = client.get_object(
    Bucket='v2-data-production',
    Key='hello.md',
)

# if response.endswith('.md'):
file_content = response['Body'].read().decode('utf-8').splitlines(True)
for line in file_content:
    print(line)
print(response)